﻿Public Class BLHCoord
    ' 定义结构体成员变量
    Public Latitude As Double ' 纬度
    Public Longitude As Double ' 经度
    Public Altitude As Double ' 高程
    ''' <summary>
    ''' 构造函数,默认值0
    ''' </summary>
    Public Sub New()
        Latitude = 0
        Longitude = 0
        Altitude = 0
    End Sub
    ''' <summary>
    ''' 构造函数,传入参数
    ''' </summary>
    ''' <param name="lat">纬度，度</param>
    ''' <param name="lon">经度，度</param>
    ''' <param name="alt">高程，m</param>
    Public Sub New(lat As Double, lon As Double, alt As Double)
        Latitude = lat
        Longitude = lon
        Altitude = alt
    End Sub
End Class
